﻿using System;

namespace Ycjw.PipeLine.Commons
{
    public static class LogHelper
    {
        private static Ycjw.PipeLine.Commons.Log4Logger log = new Log4Logger();

        public static void Debug(string message)
        {
            log.Debug(message);
        }

        public static void Error(Exception ex)
        {
            log.Error(ex);
        }

        public static void Error(string message)
        {
            log.Debug(message);
        }

        public static void Fatal(Exception ex)
        {
            log.Fatal(ex);
        }

        public static void Fatal(string message)
        {
            log.Debug(message);
        }

        public static void Info(string message)
        {
            log.Debug(message);
        }

        public static void Warn(string message)
        {
            log.Debug(message);
        }
    }
}